package com.oyjd.bean.po;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * 操作资源表实体
 * 
 * @author <b>欧建东<br/>
 *         Email:oyjd@163.com</b>
 * @version 1.0
 */
@Entity
@Table(name = "T_SYS_OPERATE")
public class SysOperate implements Serializable {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -907439653150728375L;

	/**
	 * 操作ID
	 */
	@Id
	@GeneratedValue(generator = "system-uuid")
	@GenericGenerator(name = "system-uuid", strategy = "uuid")
	@Column(name = "OPERATE_ID", length = 32)
	private String operateId;

	/**
	 * 模块名称
	 */
	@Column(name = "MODULE_NAME", length = 50)
	private String moduleName;

	/**
	 * 操作名称
	 */
	@Column(name = "OPERATE_NAME", length = 50)
	private String operateName;

	/**
	 * 排序码
	 */
	@Column(name = "ORDER_KEY")
	private int orderKey;

	public String getOperateId() {
		return operateId;
	}

	public void setOperateId(String operateId) {
		this.operateId = operateId;
	}

	public String getModuleName() {
		return moduleName;
	}

	public void setModuleName(String moduleName) {
		this.moduleName = moduleName;
	}

	public String getOperateName() {
		return operateName;
	}

	public void setOperateName(String operateName) {
		this.operateName = operateName;
	}

	public int getOrderKey() {
		return orderKey;
	}

	public void setOrderKey(int orderKey) {
		this.orderKey = orderKey;
	}

}